﻿
namespace WebServer.Proto
{
    public class NetSend_KickOutUser : NetSendToServer
    {
        public KickOutData kickOutUserData;
        protected override ISerialize data
        {
            get
            {
                return kickOutUserData;
            }
        }

        public override ResponseData NewResponseData() => new ResponseData();

        public override bool needResponse => true;

        public NetSend_KickOutUser() : base()
        {
            message.key = "KickOutUser";
        }

        protected override void OnSend(Remote remoteConnect)
        {
            base.OnSend(remoteConnect);

            GameDebug.Log($"向游戏逻辑服务器请求踢出用户：{kickOutUserData.userId}");
        }
    }
}


